target("nanovg")
  set_targetdir("../bin")
  set_kind("static")
  add_files("base/*.c")
target_end()

target("nanovg_agg")
  set_targetdir("../bin")
  set_kind("static")
  add_includedirs("base", "../3rd/agg/include")
  add_linkdirs("../bin")
  add_deps("agg")
  add_links("agg")
  add_files("agg/*.cpp")
target_end()

target("nanovg_agge")
  set_targetdir("../bin")
  set_kind("static")
  add_includedirs("base", "../3rd", ".")
  add_linkdirs("../bin")
  add_deps("agge")
  add_links("agge")
  add_files("agge/*.cpp")
target_end()

--[[
target("nanovg_bgfx")
  set_targetdir("../bin")
  set_kind("static")
  add_includedirs("base", "../3rd/bgfx/bx/include", "../3rd/bgfx/bgfx/include")
  add_linkdirs("../bin")
  add_deps("bgfx")
  add_links("bgfx")
  add_files("bgfx/*.cpp")
target_end()
--]]